﻿/*
* ==============================================================================
*
* Filename: skt_header
* Description: 
*
* Version: 1.0
* Created: 2019/12/23 16:55:02
* Compiler: Visual Studio 2019
*
* Author: szg
* Company: freelancer
*
* ==============================================================================
*/

using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace i_core.net {
	public class skt_header {
		public string uid { get; set; }

		public e_skt_type type { get; set; }
	}

	[JsonConverter(typeof(StringEnumConverter))]
	public enum e_skt_type {
		dial,
		login,
		recording,
		skt_ka,
		terminate,
		bye,
		dtmf,
		exit,
		answer, call
	}
}
